package com.shop.admin.service;

import com.shop.Result.LdbzResult;
import com.shop.pojo.LdbzIndexSlideAd;
import org.springframework.stereotype.Service;

@Service
public interface AdminIndexSlideAdService {

    LdbzResult countIndexSlideAd(LdbzIndexSlideAd entity);
    LdbzResult getIndexSlideAdPage(LdbzIndexSlideAd entity,int pn,int limit);
    LdbzResult selectByKey(Long id);
    LdbzResult deleteByKey(String id);
    LdbzResult insertByEntity(LdbzIndexSlideAd entity);
    LdbzResult updateByKey(LdbzIndexSlideAd entity);

}
